package com.huayun.plugin.materialSetting.dao;
import com.huayun.plugin.materialSetting.domain.PartMaterialInfo;
import org.springframework.data.mongodb.repository.MongoRepository;

import java.util.List;

public interface PartMaterialRepository extends MongoRepository<PartMaterialInfo, String> {
    List<PartMaterialInfo> findByPartDocId(String keyWord);
    List<PartMaterialInfo> findByPartDocIdAndMaterialNumber(String keyWord1,String keyWord2);
    List<PartMaterialInfo> findByPartDocIdIn(List<String> keyWord);
}
